package com.msr.service;

import com.msr.bean.User;
import com.msr.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author tom
 * @version V1.0
 * @Package com.msr.service
 * @date 2024/1/9 10:30
 * @Copyright © 株式会社多言语系统研究所
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(String username, String password) {
        System.out.println("========UserServiceImpl==========");
        /*User user = new User();
        user.setUsername("八戒");
        user.setPassword("admin123");*/
        return userMapper.login(username,password);
    }
}
